package com.hznc.wcs.vo.bpm;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@Data
@Accessors(chain = true)
public class BpmProcessInstanceCreateReqVO {

    @NotEmpty(message = "流程定义编号不能为空")
    private String processDefinitionId;

    //变量实例（动态表单）
    private Map<String, Object> variables;

    //发起人自选审批人 Map{taskKey1: [1, 2]}
    private Map<String, List<Long>> startUserSelectAssignees;

    //业务表主键 例如说，请假申请的编号。通过它，可以查询到对应的实例
    private String businessKey;

}
